This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
dxl -> dom -> serialize() -> dxl ~Bella Opponelyings 19.Dec.03 10:32 PM a Web browser Domino Designer 6.5All Platforms
just one more thing... when i try a more simple test of just a domparser with input of a previously exported dxl file (3405kb), and output to an empty dxl file, I get a file that is 5009kb. I have tried with different character sets, but the file always comes out larger... and, as stated in my previous post, does not successfully import through the notesdxlimporer.
am i doing something wrong? please advise. thanks.
here is my simple code:
Sub Initialize
Dim session As NotesSession
Dim stream As NotesStream
Dim stream2 As NotesStream
Dim domParser As NotesDOMParser
Dim streamDXL As String
Set session = New NotesSession
Set stream = session.CreateStream
path$ = "c:\data\dxl\"
filename$ = "stream.dxl"
filename$ = path$ & filename$
If Not stream.Open(filename$, "ASCII") Then
Messagebox "Cannot open " & filename$,, "Error"
Exit Sub
End If
' Call stream.Truncate
Set stream2 = session.CreateStream
path$ = "c:\data\dxl\"
filename$ = "stream2.dxl"
filename$ = path$ & filename$
If Not stream2.Open(filename$, "UTF-8") Then
Messagebox "Cannot open " & filename$,, "Error"
Exit Sub
End If
Call stream2.Truncate